package com.yi.wood.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author MoYi
 * create date 2019/4/6 13:29
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "app_user")
public class AppUser extends BaseEntity{

    private Date createTime;

    private String userCode;

    private String userName;

    private String password;

    private String weixinName;

    private String qq;

    private String email;

    private String phone;

    private String sex;

    private String photo;

    private Date birthday;

    private String idCard;

    private Date lastLoginTime;

    private String lastLoginIp;

    private Date lastModifyTime;

    private String confirmPass;

    private String description;

    private Long parentId;
}
